package com.zr.inquiry.pojo;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Created by 陈紫陌 on 2019-10-09.
 */
@Data
public class InquirySpareDetail {


    private Integer id;


    @NotBlank(message = "备件编码不能为空")
    private String spareCoding;
    @NotBlank(message = "备件名称不能为空")
    private String spareName;


    private String measurementUnit;//计量单位
    @NotBlank(message = "moq不能为空")
    private Integer moq;


    private Integer currencyCode;//AddVo已做验证


    @NotBlank(message = "询价备件数量不能为空")
    private Integer inquiryQty;
    @NotBlank(message = "交货周期不能为空")
    private Integer deliveryCyvle;


    private Integer inquiryId;//头表Id，外键

}
